home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC User 2003 January
/
Disc 3
/
Amethyst.iso
/
live
/
etc
/
makedev.d
/
usbprinter
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
2002-08-13
|
208 b
|
9 lines
$numdevs{$name} = 16;
$stddevs{$name} = "^(usb/lp\d*)\$";
$generate{$name} = sub {
mkdir "usb", 0755;
&$MkNod ("printer", sprintf("usb/lp%d", $i), "c", 180, $i);
if (!$i) { &$SymLink("lp0","usb/lp"); }
}